.comment-new-media {
  flex: 1;
  &-title {
    display: flex;
    align-items: center;
    &-left {
      display: flex;
      align-items: center;
      flex: 1;
      .user-name {
        line-height: 20px;
        font-size: 14px;
        color: $gray-08;
        max-width: 130px;
      }
      .time-reply {
        display: flex;
        align-items: center;
      }
      .comment-draft {
        margin-left: 8px;
      }
      .comment-time {
        margin-left: 4px;
        line-height: 20px;
        font-size: 12px;
        color: $gray-06;
      }
    }
    &-right {
      .comment-title-btn {
        margin-left: 16px;
        &:first-child {
          margin-left: 0;
        }
      }

      .comment-close-btn {
        padding: 0 4px;
        cursor: pointer;
      }
    }
  }
  // 面板内的评论
  &-line {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    background: $highlight-brand;
    height: 28px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 20px;
    color: $primary-brand;
    margin-bottom: 16px;
    &.outdated {
      background: $gray-02;
      .comment-new-media-line-left a {
        color: $gray-07 !important;
      }
      .comment-new-media-line-left-right {
        color: $gray-08;
      }
      .comment-new-media-line-right {
        width: 120px;
      }
    }
    &-right {
      text-align: right;
      width: 70px;
      line-height: 20px;
      font-size: 12px;
      color: $gray-06;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      margin-right: 8px;
      white-space: nowrap;
      .outdated-text {
        margin-left: 8px;
      }
      .next-checkbox-label-medium {
        font-size: 12px;
      }
    }
    &-left {
      flex: 1;
      padding-left: 8px;
      padding-right: 8px;
    }
  }
  &-body {
    margin-top: 4px;
    margin-bottom: 16px;
  }
  .comment-content {
    text-align: left;
    line-height: 20px;
    font-size: 14px;
    color: $gray-08;
    white-space: initial;
    word-break: break-word;
    & > *:first-child {
      margin-top: 0;
    }
    & > *:last-child {
      margin-bottom: 0;
    }
    // 评论图片 4px 的圆角，1px f0f0f0 的描边
    img {
      border-radius: 4px;
      border: 1px solid $gray-02;
    }
  }

  .reply-btn {
    margin-left: 8px;
    font-size: 12px;
    color: $gray-06;
    &:hover {
      color: $primary-brand;
    }
  }

  .comment-new-media-whole-comment {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: 4px;
    &-right {
      text-align: right;
      width: 135px;
      line-height: 20px;
      font-size: 12px;
      color: $gray-06;
      display: flex;
      align-items: center;
      justify-content: flex-end;
    }
    &-left {
      flex: 1;
    }
  }
}

.comment-new-media:last-child {
  .panel-line {
    display: none;
  }
}
.panel-comment-item {
  display: flex;
  &-left {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
    .author-avatar {
      height: 24px;
    }
    .panel-line {
      flex: 1;
      margin-left: 11px;
      width: 1px;
      background: $gray-03;
    }
  }
  &-right {
    flex: 1;

    .user-info {
      display: flex;
      color: $gray-08;
      line-height: 20px;
      font-size: 14px;
      &-left {
        display: flex;
        flex: 1;
        align-items: center;
        .time {
          color: $gray-06;
          font-size: 12px;
          margin-left: 8px;
        }
        .name {
          max-width: 100px;
        }
        .bot-tag {
          margin-left: 8px;
          .next-color-tag {
            margin: 0;
          }
        }
      }
    }
  }
}
